package org.meow.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.meow.dto.ArticleDTO;
import org.meow.dto.ArticlePageDTO;
import org.meow.entity.Article;

import java.util.List;

public interface ArticleService {

  void save(ArticleDTO articlesDTO);

  boolean delete(Integer id);

  boolean update(Article articles);

  List<Article> getArticlesByCateId(Integer id);

  IPage<Article> pageQuery(ArticlePageDTO articlePageDTO);
}
